package us.luosl.lslt.asyn.reject;


import us.luosl.lslt.asyn.processor.Processor;

import java.util.List;

/**
 * 由调用线程处理该任务
 * @param <T>
 */
public class CallerRunsRejectHandler<T> implements RejectHandler<T> {

    @Override
    public void process(Processor<T> processor, List<T> data) {
        processor.process(data);
    }

}
